package ace.cmp.data.methodname.method.name.sql.core.util;

/**
 * @author caspar
 * @date 2023/2/18 17:59
 */
public final class AssertUtils {
  public static void notNull(Object value, String message) {
    if (value == null) {
      throw new RuntimeException(message);
    }
  }

  public static void isTrue(boolean value, String message) {
    if (value == false) {
      throw new RuntimeException(message);
    }
  }
}
